{template Public:Page:header}

<div class="container">
  <div class="row">
  
	<div class="col-lg-2">
      <div class="row">
        <div class="well">
        <div class="row" style="padding-left:5px;padding-right:5px;">

              <table class="table table-hover">
                    <thead>
                        <tr>
                            <th>
                                <strong>帮助分类</strong>
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                  	 {if $categoryarr}
                         {foreach $categoryarr $category}
                            <tr>
                                <td>
                                   <a href="/help/{echo $category['route']}">{echo $category['name']}</a>
                                </td>
                            </tr>
                         {/foreach}
                     {/if}
                    </tbody>
                </table>
                       

      	</div>        
                                
        </div>
      </div>
    </div>
    
    <div class="col-lg-10 well-col-pl-30">
      <div class="row">
       <div class="well">
         <h3>{echo $article['subject']}</h3>
        <hr />
         {echo htmlspecialchars_decode($article['content'])}
         
       </div>
    </div>
    
     <div class="row">
       <div class="well">
       上一篇 &nbsp; {if $uparticle}<a href="/help/{echo $uparticle['id']}">{echo $uparticle['subject']}</a>{else}没有数据{/if}
       <hr />
       下一篇 &nbsp; {if $nextarticle}<a href="/help/{echo $nextarticle['id']}">{echo $nextarticle['subject']}</a>{else}没有数据{/if}
       </div>
     </div>  
  </div>
</div>
</div>

{template Public:Page:footer}